
export const getText = (key, list, keyText = 'id') => {
  try {
    return list.filter(item => key == item[keyText])[0]
  } catch {
    return {}
  }
}
